package com.deer.mvptest.service;

import com.deer.mvptest.service.entity.Book;

import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * 作者: 张金富 on 2017-09-06.
 * Email: zjf_deer@163.com
 * QQ: 1132740974
 * 描述:
 */

public interface RetrofitService {

    @GET("book/search")
    Observable<Book> getSearchBook(@Query("q") String name,
                                   @Query("tag") String tag,
                                   @Query("start") int start,
                                   @Query("count") int count);

}
